import numpy as np

sample_list = [50,60,75,85,100,30,48]
x = np.mean(sample_list)
print(x)

#方法2
sample_num = len(sample_list)
mean_val = sum(sample_list)/sample_num
print(mean_val)